/**
 * Project Name:cnsy-url-short-service
 * File Name:ZTreeSimpleResult.java
 * Package Name:cn.cnsy123.shorturls.api.controller.result 
 * Date: 2020年4月20日-上午10:38:40
 * Copyright (c) 2020, yangpengfei@360@126.com All Rights Reserved. 
 *
 */

package cn.cnsy123.shorturls.api.controller.result;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

/**
 * ClassName: ZTreeSimpleResult
 * 
 * @author yangpengfei
 * @date 2020年4月20日-上午10:38:40
 * @version 1.0
 * @since JDK 1.7
 */
@JsonInclude(value = Include.NON_NULL)
public class ZTreeSimpleResult implements Serializable {
    
    /**
     * serialVersionUID:TODO(用一句话描述这个变量表示什么). 
     * @since JDK 1.7
     */
    private static final long serialVersionUID = -2808691906294410836L;

    private Long id;
    
    private Long pId;
    
    private String name;
    
    private Boolean open = true;
    
    private String realName;
    
    private String userPhone;
    
    private String userTelPhone;
    
    private String leaderUserId;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getpId() {
        return pId;
    }

    public void setpId(Long pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    
    
    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public String getUserTelPhone() {
        return userTelPhone;
    }

    public void setUserTelPhone(String userTelPhone) {
        this.userTelPhone = userTelPhone;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }
    
   
    public String getLeaderUserId() {
        return leaderUserId;
    }

    public void setLeaderUserId(String leaderUserId) {
        this.leaderUserId = leaderUserId;
    }

    public ZTreeSimpleResult() {
        super();
    }

    public ZTreeSimpleResult(Long id, Long pId, String name) {
        super();
        this.id = id;
        this.name = name;
        this.pId = pId;
    }
    
    public ZTreeSimpleResult(Long id, Long pId, String name, Boolean open, String realName, String userPhone,
            String userTelPhone, String leaderUserId) {
        super();
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.open = open;
        this.realName = realName;
        this.userPhone = userPhone;
        this.userTelPhone = userTelPhone;
        this.leaderUserId = leaderUserId;
    }

    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("ZTreeSimpleResult [id=").append(id).append(", pId=").append(pId).append(", name=").append(name)
                .append(", open=").append(open).append(", realName=").append(realName).append(", userPhone=")
                .append(userPhone).append(", userTelPhone=").append(userTelPhone).append(", leaderUserId=")
                .append(leaderUserId).append("]");
        return builder.toString();
    }



    
    
    

}
